<?php
  
require_once 'data/user.php';
?>







<?php
 if (isset($_POST['submit'])):
     ?>
<?php
$u = $_POST['username'];
$pass =$_POST['password'];

if ($u=='admin1' && $pass=='123'){
    var_dump($_POST);
  echo 'BAN DA DANG NHAP THANH CONG'.'<br/>'.'<a href="https://www.facebook.com/nguoilinhvachiecbalo?ref=tn_tnmn">click vao home</a>';
  
	
}

else {    echo "<script>alert('Username:admin1, password:123')</script>";

}
?>
<?php
else:
?>


<?php endif; ?>

